package com.lvtongka.app.ui.coupon.bean

import java.io.Serializable

data class CouponResponse(
    val msg: String,
    val code: Int,
    val data: CouponData
)

data class CouponData(
    val page: CouponPage
)

data class CouponPage(
    val totalCount: Int,
    val pageSize: Int,
    val totalPage: Int,
    val currPage: Int,
    val list: List<CouponItem>
)
/*
 {
                    "id": "1859475038121967616",
                    "createAt": null,
                    "couponNo": "333300000053",
                    "couponPasswdE": null,
                    "balance": 300,
                    "balanceCent": 30000,
                    "typeValue": "龙城书影券",
                    "type": "C",
                    "onlineNote": null,
                    "offlineNote": null,
                    "note": "本券可线上线下兑换电影票、文艺演出、体育赛事门票",
                    "kinNote": "",
                    "omount": null,
                    "cashFace": null,
                    "couponSale": null,
                    "valid": "2025-11-30 23:59:59",
                    "bindAt": "2024-11-28 18:58:33",
                    "typeId": "1821421652358344706",
                    "status": "0",
                    "memberId": "10020",
                    "payPriority": null
 */
data class CouponItem(
    val id: String = "",
    val couponNo: String = "",
    val balance: Double = 0.0,
    val balanceCent: Int = 0,
    val typeValue: String = "",
    val type: String = "",
    val note: String = "",
    val couponSale: String = "",
    val valid: String = "",
    val bindAt: String = "",
    val typeId: String = "",
    val status: String = "",
    val memberId: String = "",
    val kinNote: String = ""
) : Serializable